#!/bin/sh

post_install() {
  set -e
  echo "
====================================================================
  Please refer to armitage's documentation for usage informations:
  http://www.fastandeasyhacking.com/manual

  Specifically you need to:
  1) Create the metasploit postgresql database
  2) Create a /etc/metasploit/database.yml file for the database
  3) Start armitage and allow it to start msfrpcd, disregarding
     any interm errors (i.e. Connection Refused) and WAIT for the
     connection to be either established or ultimately fail.
====================================================================
"
}

post_upgrade() {
  post_install "$@"
}
